package com.gzq.factorymethod.exam07;

public class TianDao {
	
	public static void main(String[] args) {
		IBaGuaLu baGuaLu = new BaGuaLuImpl();
		baGuaLu.create(YellowHumanImpl.class).race();
		baGuaLu.create(WhiteHumanImpl.class).race();
	}

}
